﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcFinalTest.Models.JobTypeModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Job Type Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Job Type Details</h2>

    <fieldset>
        <legend>Job Type Details</legend>
        <table>
            <tr>
                <td>JobType ID</td>
                <td><%: Model.JobTypeId %></td>
            </tr>
            <tr>
                <td>Name</td>
                <td><%: Model.Name %></td>
            </tr>
            <tr>
                <td>Rate Per Hour</td>
                <td><%: String.Format("{0:F}", Model.RatePerHour) %></td>
            </tr>
        </table>             
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id=Model.JobTypeId }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

